
package com.thon.service.util;

import java.util.List;

/**
 * @file AnalysisResult.java
 * @author manpiaoyi
 * @param <E>
 * @email manpiaoyi@126.com
 * @date 2014-11-9
 * @description 数据分析结果接口
 */
public interface AnalysisResult<T, E> {	
	
	public final static Integer DAY_LENGTH = 1;
	public final static Integer WEEK_LENGTH = 7;
	public final static Integer MONTH_LENGTH = 30;
	public final static Integer YEAR_LENGTH = 365;
	
	public final static String[] YEAR_MONTH = {"一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"};
	public final static String[] WEEK_DAY = {"星期一","星期二","星期三","星期四","星期五","星期六","星期日"};
	public final static String[] MONTH_WEEK = {"本周","前一周","前两周","前三周","前四周"};
	public final static String[] YEARS = {"今年","去年","前年"};	
	public final static String[] MONTH_DAY = {"1号","2号","3号","4号","5号","6号","7号","8号","9号","10号","11号","12号","13号","14号","15号","16号","17号","18号","19号","20号","21号","22号","23号","24号","25号","26号","27号","28号","29号","30号","31号"};
	
    public E writeAnalysisResult(List<T> datum);
    
}